package com.bmps.springcloud.insuredmicroservice.constant.cancel;

/**
 * description:
 * 常量
 *
 * @author jackdaw
 * @date 2019-11-27 14:57
 */
public class CancelConstant {

    public static final String Y = "Y";

    public static final String N = "N";
    /**
     * 撤单缓存锁key值前缀
     */
    public static final String PREFIX_CANCEL = "CANCEL|";

    public static final String EXCEPTION_DATABASE = "更新数据库异常";

    public static final String FAIL_NO_DATA = "没有待撤单数据！";

    public static final String FAIL_PRTNO_ERROR = "投保单号和受理不一致，撤单失败！";

    public static final String FAIL_REQUEST_CORE = "调用核心失败！";

    public static final String SUCCESS_MESSAGE = "投保单(印刷号：%s)撤单处理成功";

    public static final String REQUEST = "request";

    public static final String PUSH_FLAG = "pushflag";

    public static final int PUSH_FLAG_ZERO = 0;

    public static final int PUSH_FLAG_ONE = 1;

    public static final int PUSH_FLAG_TWO = 2;
    
    public static final int PUSH_FLAG_THREE = 3;
    
    public static final int PUSH_FLAG_FOUR = 4;

    public static final String STATE = "state";

    public static final String XML_PACKAGE = "Package";

    public static final String CANCEL_SYMBOL = "MIT";
    
    public static final String CANCEL_SERVICE_NAME = "SEPrtCancel";


}
